package com.xjscrm.console.chat.frame.send;

import com.xjscrm.console.chat.enums.ChatMsgType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author mingyang.chen create in 2024/3/12 13:47
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel
public class SSessionCountResultMsg extends SResultMsg {

    @ApiModelProperty("当前账号关联的会话")
    private Integer nowSessionCount = 0;
    @ApiModelProperty("当前账号的会话上限")
    private Integer totalSessionCount = 0;
    @ApiModelProperty("当前账号挂起的会话数量")
    private Integer hangSessionCount = 0;
    @ApiModelProperty("当前机器人排队的会话数量")
    private Integer orderSessionCount = 0;
    @ApiModelProperty("当前机器人留言的会话数量")
    private Integer leaveSessionCount = 0;

    public SSessionCountResultMsg() {
        this.setResultType(ChatMsgType.s_session_count_result.getCode());
        this.setResultTypeDesc(ChatMsgType.s_session_count_result.getDesc());
    }
}
